.middle {
    display: flex;
    justify-content: center;
}

.middle > div {
    width: 900px;
    border: 1px solid gray;
    margin: 30px 0;
}


.product {
    border-top: 1px solid gray;
    padding: 10px;

}

.middle > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
}

.middle > div > div:nth-child(1) > div:nth-child(2) {
    display: flex;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div {
    line-height: 60px;
    padding: 0 20px;
    color: black;
    background-color: rgb(243, 243, 243);
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:hover {
    color: white;
    background-color: rgb(230, 145, 55);
    cursor: pointer;
}

/*-----------------内容---------*/
bb {
    color: red;
}

.product > div:nth-child(1) {
    display: flex;
    flex-wrap: wrap;
    color: gray;
}

.product > div:nth-child(1) > div {
    width: 200px;
    margin-right: 18px;
    margin-bottom: 18px;
    /*border: 1px solid red;*/
}

.product > div:nth-child(1) > div > div:nth-child(1) {
    width: 200px;
    height: 200px;

}

.product > div:nth-child(1) > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.product > div:nth-child(1) > div > div:nth-child(2) {
    color: black;
    font-weight: bolder;
    font-family: 黑体;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product > div:nth-child(1) > div > div:nth-child(4) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 自定义的行数 */
    overflow: hidden;
}